cmake_minimum_required(VERSION 3.16)

project(my_c LANGUAGES C)

add_executable(my_c main.c)

include(GNUInstallDirs)
install(TARGETS my_c
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
